package aplication;

import javax.xml.ws.Endpoint;

import wsresource.server.WSResource;
import wsresource.server.WSResourceManager;

public class Publisher1 {
  public static void main(String[] args) {

    String url1 = "http://localhost:8082/WS/WSResource1";
    String url2 = "http://localhost:8083/WS/WSResourceManager1";
  
    Endpoint.publish(url1, new WSResource("ws1"));
    Endpoint.publish(url2, new WSResourceManager());
  }
}
